<!-- 创建学员评教活动 -->
<template>
  <div class="assessment-container" style="width:100%">
    <div class="search-container">
      <div class="search-container-left">
        <div class="search-container-item">
          <span>学期：</span>
          <el-select
            v-model="term"
            style="width: 90px"
            clearable
            size="mini"
            placeholder="请选择"
          >
            <el-option
              v-for="item in xueqiList"
              :key="item.value"
              :label="item.xqmc"
              :value="item.xqmc"
            >
            </el-option>
          </el-select>
        </div>

        <div class="search-button" @click="pjevalByAll" style="margin:2px 0 0 0">
          <img src="../../../assets/assessment/icon-search.png" alt="" />
          <span>查询</span>
        </div>
        <div
          class="import-button"
          style="margin:2px 0 0 15px"
          @click="toMaketeach"
        >
          <span>创建教学评价</span>
        </div>
        <div
          class="export-button"
          style="width:160px; margin:2px 0 0 15px"
          @click="saveTding1"
        >
          <span>创建期中教学评价</span>
        </div>
        <div
          class="search-button"
          style="width:150px;margin:2px 0 0 15px"
          @click="toMakeupScoreEntry"
        >
          <span>创建专项活动评价</span>
        </div>
      </div>
    </div>
    <div class="plan-entry-table-container">
      <el-table
        :data="tableData"
        style="width: 100%"
        class="xpaas-table-class"
        row-class-name="xpaas-row-class"
        cell-class-name="xpaas-cell-class"
        header-row-class-name="xpaas-header-row-class"
        header-cell-class-name="xpaas-header-cell-class"
        @selection-change="handleSelectionChange"
      >
        <el-table-column
          prop="evalprojectname"
          label="评价活动名称"
          width="170"
          align="center"
        >
        </el-table-column>
        <el-table-column prop="type" label="类型" width="98" align="center">
          <template slot-scope="scope">
            <span>{{scope.row.type=="1"?'教学评价':scope.row.type=="2"?'期中教学评价':'专项活动评价'}}</span>
          </template>
        </el-table-column>
        <el-table-column prop="term" label="学期" width="124" align="center">
        </el-table-column>
        <el-table-column
          prop="begindate"
          label="开始时间"
          width="160"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="enddate"
          label="结束时间"
          width="160"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="guidename"
          label="指标体系"
          width="170"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="proportionallimit"
          label="各个等级比例限制"
          width="160"
          align="center"
        >
        </el-table-column>
        <el-table-column
          prop="dccjd"
          label="未评价学员"
          width="132"
          align="center"
        >
          <template slot-scope="scope">
            <!--         showManualEntryDialogascD=true   -->
            <div
              class="search-button"
              style="margin:0 auto"
              @click="toMakePrintEntry(scope.row.evalprojectid)"
            >
              <span>查看</span>
            </div>
          </template>
        </el-table-column>
        <el-table-column
          prop="dccjd"
          label="评价结果"
          width="132"
          align="center"
        >
          <template slot-scope="scope">
            <!-- showManualEntryDialogascD=true -->
            <div
              class="search-button"
              style="margin:0 auto"
              @click="toMakePrintEntrys(scope.row.evalprojectid)"
            >
              <span>查看</span>
            </div>
          </template>
        </el-table-column>
        <el-table-column prop="dccjd" label="操作" width="362" align="center">
          <template slot-scope="scope">
            <!--            pjevalremove   deleteEntryDialogascD=true  -->
            <div
              class="download-buttons"
              @click="pjevalremove(scope.row.evalprojectid)"
              style="display:inline-block"
            >
              <span>删除</span>
            </div>
            <div
              class="ztcz-detail"
              @click="WritePrintEntry(scope.row.evalprojectid, scope.row.type)"
              style="display:inline-block"
            >
              <span>编辑</span>
            </div>
            <!--            /admin/examination/upPrintEntry-->
            <div
              class="lucj-expot-buttonas"
              style="width:140px; display:inline-block;line-height: 20px;"
              @click="upPrintEntry(scope.row.evalprojectid)"
              v-show="scope.row.type != '2'"
            >
              <span>查询个性化指标</span>
            </div>
          </template>
        </el-table-column>
      </el-table>
    </div>

    <!--  导出Excel  -->
    <div class="bottom-block">
      <div class="export-button">
        <img src="../../../assets/assessment/icon-export.png" alt="" />
        <download-excel
          class="export-btn"
          :data="tableData"
          :fields="jsonFields"
          type="xls"
          name="学员评教活动信息.xls"
          style="color: #f3b815"
        >
          &ensp;导出Excel
        </download-excel>
      </div>
    </div>

    <el-dialog
      title="批量审核"
      :visible.sync="showInportReportDialog"
      class="import-report-container"
      width="453px"
    >
      <span slot="footer" class="dialog-footer">
        <button
          class="green"
          style="margin-right:70px"
          @click="showInportReportDialog = false"
        >
          通过
        </button>
        <button class="green" @click="showInportReportDialog = false">
          驳回
        </button>
      </span>
    </el-dialog>

    <!--   删除   -->
    <el-dialog
      title="提示"
      :visible.sync="deleteEntryDialogascD"
      width="983px"
      style=" height:520px"
      class="message-container"
    >
      <div class="message-text">
        <!-- <div></div> -->
        <div>确定要删除吗？</div>
      </div>
      <span slot="footer" class="dialog-footer">
        <button class="green" @click="pjevalremove1" >确 定</button>
      </span>
      <span slot="footer" class="dialog-footer">
        <button class="yellow" @click="deleteEntryDialogascD = false" style="margin-left: 85px;">
          取 消
        </button>
        <!--      dialogClickconfirm('Message')  -->
      </span>
    </el-dialog>
    <!--    删除-->

    <el-dialog
      title="修  改"
      :visible.sync="showManualEntryDialogascD"
      width="1185px"
      class="manual-entry-containerass"
    >
      <div s>
        <el-row>
          <el-col :span="16">
            <div>教研室</div>
            <div class="my-cas">
              <span class="my-from-span">{{ a1 }}</span>
            </div>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="16">
            <div>课程名称</div>
            <div class="my-cas">
              <span class="my-from-span">{{ a2 }}</span>
            </div>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="16">
            <div>教学班</div>
            <div class="my-cas">
              <span class="my-from-span">{{ a3 }}</span>
            </div>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="16">
            <div>参评对象</div>
            <div class="my-cas">
              <span class="my-from-span">{{ a4 }}</span>
              <div
                class="my-form-item-value"
                style="margin-top:70px; height: 100px;"
                @click="showYprDial(1)"
              >
                <img src="../../../assets/home/grena-anniu.png" alt="" />
              </div>
              <showYprDialog
                :dialogTitle="dialogTitle"
                :showYprDialog="showYprDialog"
                @showYprDialClick="showYprDialClick"
                @renew="renew"
              ></showYprDialog>
            </div>
          </el-col>
        </el-row>

        <el-row>
          <el-col :span="16">
            <div>修改说明</div>
            <div class="my-cas">
              <el-input
                v-model="class_nameaca5"
                type="textarea"
                placeholder="请输入内容"
                :rows="3"
                maxlength="300"
                show-word-limit
                style="width: 100%"
              ></el-input>
            </div>
          </el-col>
        </el-row>
      </div>
      <span slot="footer" class="dialog-footer">
        <button
          class="yellow"
          style="width:95px"
          @click="dialogClickconfirm('Message')"
        >
          取 消
        </button>
      </span>
      <span slot="footer" class="dialog-footer">
        <button @click="showManualEntryDialogascD = false">保存</button>
      </span>
    </el-dialog>
  </div>
</template>

<script>
import { reqGetXqList } from "@/api/course/courses";
import showYprDialog from "@/views/comonents/showYprDialog";
import { pjdelete, pjevalByAll, pjevalremove,queryallyes,queryallno } from "@/api/teacher/admin";

export default {
  components: {
    showYprDialog
  },
  data() {
    return {
      type: "", //类型
      // type= 1  教学
      // type= 2  期中
      // type= 3  专项

      //导出Excel
      jsonFields: {
        评价活动名称: "evalprojectname",
        类型: "type",
        学期: "term",
        开始时间: "begindate",
        结束时间: "enddate",
        指标体系: "guidename",
        各个等级比例限制: "proportionallimit"
      },

      a1: "名称填写",
      a2: "A,B,C,D",
      a3: "A",
      a4: "张三",
      planidArr: [],
      showYprDialog: "",
      term: "",
      dialogTitle: "选择教员",
      xueqiList: [
        {
          value: "2021春",
          label: "2021春"
        },
        {
          value: "2020夏",
          label: "2020夏"
        }
      ],
      tableData: [],
      coursename: "",

      showManualEntryDialogascD: false,
      showInportReportDialog: false,
      deleteEntryDialogascD: false,
      reportType: "课下作业",
      reportTypes: [
        { label: "课下作业", value: "课下作业" },
        { label: "课下测评", value: "课下测评" },
        { label: "期中考试", value: "期中考试" },
        { label: "课终考核", value: "课终考核" }
      ],
      reportTypep: "按教学班导出",
      reportTypepss: [
        { label: "按教学班导出", value: "按教学班导出" },
        { label: "按课程导出", value: "按课程导出" }
      ]
    };
  },
  mounted() {
    this.getXqList();
    this.pjevalByAll();
  },

  methods: {
    // 获取学期院历列表
    async getXqList() {
      const result = await reqGetXqList();
      if (result.data.code == 200) {
        this.xueqiList = result.data.data;
      }
    },
    //查看全部创建教学活动
    pjevalByAll() {
      let time = {};
      time = this.term;
      return new Promise(() => {
        pjevalByAll(time).then(res => {
          if (res.data.code == 200) {
            let data = res.data.data;
            console.log(data);
            let arr = [];
            for (const dataKey in data) {
              let obj = {};
              let pjEvalguide = data[dataKey].pjEvalguide;
              let pjEvalproject = data[dataKey].pjEvalproject;

              obj = { ...pjEvalguide, ...pjEvalproject };

              arr.push(obj);
            }
            this.tableData = arr;
          }
        });
      });
    },

    //删除
    pjdelete1(guiderankid) {
      this.showMessageDialog = true;
      this.guiderankid = guiderankid;
      console.log(guiderankid, "guiderankid");
    },
    pjdelete() {
      let ids = {};
      ids = this.guiderankid;
      console.log(ids, "ids");
      return new Promise(() => {
        pjdelete(ids).then(res => {
          this.tableData = res.data.data;
          this.showMessageDialog = false;
          this.pjall();
        });
      });
    },

    pjevalremove(evalprojectid) {
      this.deleteEntryDialogascD = true;
      this.evalprojectid = evalprojectid;
      console.log(this.evalprojectid, "this.evalprojectid");
    },
    //删除确定
    pjevalremove1() {
      let ids = {};
      ids = this.evalprojectid;
      return new Promise(() => {
        pjevalremove(ids).then(res => {
          this.tableData = res.data.data;
          this.deleteEntryDialogascD = false;
          this.pjevalByAll();
        });
      });
    },

    //期中
    saveTding1() {
      this.$router.push("/admin/evaluation/setActivityEvaluations");
    },

    //教学
    toMaketeach() {
      this.$router.push("/admin/evaluation/setActivity");
    },
    //专项
    toMakeupScoreEntry() {
      this.$router.push("/admin/evaluation/setActivityEvaluation");
    },

    //查看未评价
    toMakePrintEntry(evalprojectid) {
      let obj = {
        duibie: '',
        evalprojectid: evalprojectid,
        studentname: ''
      };
      return new Promise(() => {
        queryallno(obj).then(res => {
          if(res.data.msg == '0'){
            this.$message({
              type:'error',
              message:res.data.data
            })
            return
          } else {
            this.$router.push({
              path: "/admin/examination/getPrintEntry",
              query: { evalprojectid: evalprojectid }
            });
          }
        })
      })
    },

    // 查看已评价
    toMakePrintEntrys(evalprojectid) {
      let obj = {
        classroom: '',
        coursename: '',
        teachername: '',
        xibu: '',
        evalprojectid: evalprojectid,
      };
      return new Promise(() => {
        queryallyes(obj).then(res => {
          if(res.data.msg == '0'){
            this.$message({
              type:'error',
              message:res.data.data
            })
            return
          } else {
            this.$router.push({
              path: "/admin/examination/getPrintEntrysResult",
              query: { evalprojectid: evalprojectid }
            });
          }
        })
      })
    },

    //查看个性指标
    upPrintEntry(term) {
      this.$router.push({
        path: "/admin/examination/upPrintEntry",
        query: { term: term }
      });
    },

    //  编辑跳转
    WritePrintEntry(evalprojectid, type) {
      if (type == 1) {
        this.$router.push({
          path: "/admin/evaluation/writeActivity",
          query: { evalprojectid: evalprojectid, type: type }
        });
      } else if (type == 2) {
        this.$router.push({
          path: "/admin/evaluation/updateEvalutions",
          query: { evalprojectid: evalprojectid, type: type }
        });
      } else {
        this.$router.push({
          path: "/admin/evaluation/updateZhuanxiang",
          query: { evalprojectid: evalprojectid, type: type }
        });
      }
    }
  }
};
</script>
<style lang="less" scoped>
@fontFamily:"Microsoft YaHei";
.xpaas-table-class {
  border: 1px solid #004ca7;
  border-radius: 9px;
  margin: 15px 0;
  > ::v-deep div.el-table__header-wrapper {
    > table.el-table__header {
      > thead {
        > tr.xpaas-header-row-class {
          padding: 0;
          height: 76px;
          background-color: #edf2f9;
          font-size: 16px;
          font-family: Microsoft YaHei;
          font-weight: bold;
          line-height: 20px;
          color: #004ca7;
          > th.xpaas-header-cell-class {
            font-weight: bold;
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            background-color: #edf2f9;
            > div.cell {
              font-size: 16px;
              font-weight: bold;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
        }
      }
    }
  }
  > ::v-deep div.el-table__body-wrapper {
    > table.el-table__body {
      > tbody {
        > tr.xpaas-row-class {
          > td.xpaas-header-cell-class {
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            background-color: #edf2f9;
            > div.cell {
              font-size: 16px;
              font-weight: bold;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
          > td.xpaas-cell-class {
            height: 76px;
            border-right: 1px solid #c7d7eb;
            border-left: 0;
            border-bottom: 1px solid #c7d7eb;
            > div.cell {
              font-weight: normal;
              font-family: @fontFamily;
              color: #004ca7;
            }
          }
        }
      }
    }
  }
}
.my-cas {
  margin-right: -200px;
  margin-left: 30px;
}

.my-from-span {
  width: 195px;
  height: 39px;
  font-size: 17px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  line-height: 39px;
  color: #004ca7;
  opacity: 1;
}

.back-container {
  .back-text {
    margin-top: 33px;

    > div {
      display: inline-block;

      &:nth-child(1) {
        padding-left: 111px;
        font-size: 20px;
        color: rgba(0, 76, 167, 1);
        font-weight: bold;
        vertical-align: top;
      }
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
  }
}

.manual-entry-container {
  .el-dialog__body {
    height: 390px;

    > div {
      width: 1014px;
      border: 1px solid rgba(0, 76, 167, 0.8);
      border-radius: 6px;
      margin: 0 auto;

      > div {
        border-bottom: 1px solid rgba(0, 76, 167, 0.39);

        &:last-child {
          border-bottom: none;
        }

        > div {
          display: flex;

          > div {
            height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;

            &:nth-child(1) {
              width: 420px;
              text-align: center;
              font-size: 16px;
              font-weight: bold;
              color: #004ca7;
              background: rgba(77, 129, 192, 0.1);
            }

            &:nth-child(2) {
              padding-left: 19px;
            }
          }
        }
      }
    }
  }

  .el-dialog__footer {
    padding-bottom: 43px;
  }

  .dialog-footer {
    > button {
      width: 87px;
      height: 36px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      border-radius: 6px;
      background: rgba(255, 246, 239, 1);
      font-size: 18px;
      color: #f3b815;
    }
  }
}

.message-container {
  .message-text {
    > div {
      padding: 57px 0 63px 0;
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      text-align: center;
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
    display: flex;
    justify-content: space-evenly;
  }
}

.paper-message-container {
  .paper-message-text {
    > div {
      padding: 57px 0 63px 0;
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      text-align: center;
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
  }

  .confirm-button {
    width: 87px;
    height: 36px;
    padding: 0;
    background: #f1fff8;
    border: 1px solid #02c86c;
    border-radius: 4px;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #02c86c;
    cursor: pointer;
    margin-right: 92px;
  }

  .cancle-button {
    .confirm-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
    margin-right: 0px;
  }
}

.upload-paper-container {
  .paper-container {
    width: 100%;
    height: 236px;
    opacity: 1;

    .paper-container-row {
      display: flex;
      flex-direction: row;
      align-items: center;
      font-family: Microsoft YaHei;

      margin-bottom: 35px;
      border: 1px solid #004ca7;

      .paper-container-box1 {
        width: 233px;
        height: 126px;
        background: rgba(0, 76, 167, 0.1);
        opacity: 0.1;
        border-radius: 5px 0px 0px 0px;
        display: flex;
        align-items: center;
        justify-content: center;

        .title {
          width: 90px;
          height: 24px;
          font-size: 18px;
          font-family: Microsoft YaHei;
          font-weight: bold;
          line-height: 20px;
          color: rgba(0, 76, 167, 1);
          opacity: 1;
        }
      }

      .paper-container-box2 {
        margin-left: 15px;
      }

      .upload-button {
      }

      .file-name {
        max-width: 340px;
        margin-right: 10px;
      }

      .scan-button {
        width: 62px;
        height: 30px;
        line-height: 28px;
        background: #fff6ef;
        border: 1px solid #f3b815;
        border-radius: 4px;
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #f3b815;
        text-align: center;
        cursor: pointer;
      }

      .download-button {
        .scan-button;
        background: #f1f8fe;
        border: 1px solid #51aef6;
        color: #51aef6;
      }

      img {
        width: 18px;
        height: 19px;
        margin-right: 14px;
      }

      .re-upload-button {
        .upload-button;
        width: 80px;
        color: #02c86c;
        border: 1px solid #02c86c;
        background: #dfffef;

        input {
          width: 80px;
        }
      }
    }
  }

  .el-dialog__footer {
    padding-bottom: 95px;
  }

  .confirm-button {
    width: 87px;
    height: 36px;
    padding: 0;
    background: rgba(90, 101, 204, 0.1);
    border: 1px solid #5230e9;
    border-radius: 4px;
    font-size: 18px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #5230e9;
    cursor: pointer;
    margin-right: 92px;
  }

  .cancle-button {
    .confirm-button;
    background: #ffefef;
    border: 1px solid #ff3819;
    color: #ff3819;
    margin-right: 0px;
  }

  .download-button {
    .confirm-button;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    color: #51aef6;
    margin-right: 92px;
  }
}

.plan-entry-table-container {
  margin-top: 30px;

  .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

  .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  .el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }

  .export-button {
    background: #ebe6ff;
    cursor: pointer;
    background: #fff6ef;
    border: 1px solid #5230e9;
    width: auto;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    > span {
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #15f371;
    }

    > img {
      width: 16px;
      height: 16px;
      margin-right: 5px;
    }
  }

  .bk-lucj-import-button {
    .export-button;
    width: 70px;
    background: #f1fff8;
    border: 1px solid #02c86c;
    box-sizing: border-box;
    margin: 0 auto 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #02c86c;
    }
  }

  .bk-lucj-expot-button {
    .export-button;
    width: 156px;
    background: #fef1e8;
    border: 1px solid #f86900;
    box-sizing: border-box;
    margin: 0 auto 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #f86900;
    }
  }

  .tjst-button {
    width: 78px;
    height: 27px;
    line-height: 27px;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #51aef6;
    cursor: pointer;
  }

  .dh-button {
    .tjst-button;
    margin-top: 12px;
    background: #ffefef;
    border: 1px solid #ff3819;
    color: #ff3819;
  }

  .cx-button {
    .tjst-button;
    background: #ffefef;
    border: 1px solid #ff3819;
    color: #ff3819;
  }

  .cz-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .txmtjh-button {
    .tjst-button;
    width: 114px;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
  }

  .ckmtjh-button {
    .tjst-button;
    width: 114px;
    background: #f1fff8;
    border: 1px solid #02c86c;
    color: #02c86c;
  }

  .xz-button {
    .tjst-button;
    width: 51px;
    background: #edf2f9;
    border: 1px solid #004ca7;
    color: #004ca7;
  }

  .name-button {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    line-height: 25px;
    color: #004ca7;
    text-decoration: underline;
  }

  .name-button:hover {
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 25px;
    color: #187ef8;
  }

  .upload-button {
    .tjst-button;
    width: 98px;
    margin: 0 5px;
    background: #efebff;
    border: 1px solid #5230e9;
    color: #5230e9;
  }

  .download-button {
    .tjst-button;
    width: 48px;
    margin: 0 5px;
  }

  .yl-button {
    .tjst-button;
    width: 48px;
    margin: 0 5px;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
  }

  .cz-row-block {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;

    .download-buttones {
      align-items: center;
      width: 78px;
      height: 28px;
      line-height: 28px;
      background: #efebff;
      border: 1px solid #5230e9;

      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #5230e9;
      }

      > img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
      }
    }

    .download-buttons {
      align-items: center;
      width: 78px;
      height: 28px;
      line-height: 28px;
      background: #ffefef;
      border: 1px solid #ff3819;
      border-radius: 6px;
      cursor: pointer;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #fb563c;
      }

      > img {
        width: 16px;
        height: 16px;
        margin-right: 10px;
      }
    }

    .ztcz-detail {
      .download-buttons;
      background: #f1fff8;
      border: 1px solid #02c86c;

      > span {
        font-size: 16px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #02c86c;
      }
    }
  }

  .zz-button {
    .tjst-button;
    width: 132px;
    margin: 5px;
    background: #efebff;
    border: 1px solid #5230e9;
    color: #5230e9;
  }

  .tx-button {
    .tjst-button;
    width: 132px;
    letter-spacing: 2px;
    margin: 0 5px;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    color: #51aef6;
  }

  .sjfx-button {
    .tjst-button;
    width: 114px;
    margin: 0 5px;
    background: #fff6ef;
    border: 1px solid #f3b815;
    color: #f3b815;
  }
}

.choose-ypr-container {
  width: 767px;
  margin: 0px auto;

  .choose-ypr-search-container {
    .el-input--prefix .el-input__inner {
      padding-left: 30px;
    }

    .el-input__inner {
      &::placeholder {
        color: #b8b8b8;
      }

      &::-webkit-input-placeholder {
        /* WebKit browsers 适配谷歌 */
        color: #b8b8b8;
      }

      &:-moz-placeholder {
        /* Mozilla Firefox 4 to 18 适配火狐 */
        color: #b8b8b8;
      }

      &::-moz-placeholder {
        /* Mozilla Firefox 19+ 适配火狐 */
        color: #b8b8b8;
      }

      &:-ms-input-placeholder {
        /* Internet Explorer 10+  适配ie*/
        color: #b8b8b8;
      }
    }

    display: flex;
    flex-direction: row;
    align-items: center;

    .title {
      font-size: 18px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
      margin-right: 5px;
    }

    .button-list {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin-left: 21px;

      .button-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 69px;
        height: 27px;
        line-height: 27px;
        border: 1px solid #004ca7;
        border-radius: 4px;
        margin-right: 10px;
        text-align: center;
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #004ca7;

        .del-icon {
          position: absolute;
          right: 0px;
          top: 0px;
          width: 12px;
          height: 12px;
          padding: 2px;
        }
      }
    }
  }

  .choose-ypr-table-container {
    margin-top: 30px;

    .el-table td,
    .el-table th.is-leaf,
    .el-table--border,
    .el-table--group {
      border-color: #c7d7eb;
    }

    .el-table__header tr,
    .el-table__header th {
      padding: 0;
      height: 57px;
      background-color: #edf2f9;
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: bold;
      line-height: 20px;
      color: #004ca7;
    }

    .el-table__body tr,
    .el-table__body td {
      padding: 0;
      height: 51px;
    }

    .table-data {
      width: 100%;
      border: 0.8px solid #004ca7;
      border-radius: 9px;
      font-size: 14px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #004ca7;
    }
  }
}

.manual-entry-containerass {
  .el-dialog__body {
    > div {
      width: 1014px;
      border: 1px solid rgba(0, 76, 167, 0.8);
      border-radius: 6px;
      margin: 0 auto;

      > div {
        border-bottom: 1px solid rgba(0, 76, 167, 0.39);

        &:last-child {
          border-bottom: none;
        }

        > div {
          display: flex;

          > div {
            width: 900px;
            height: 96px;
            display: flex;
            align-items: center;
            justify-content: center;

            &:nth-child(1) {
              width: 900px;
              text-align: center;
              font-size: 16px;
              font-weight: bold;
              color: #004ca7;
              background: rgba(77, 129, 192, 0.1);
            }
          }
        }
      }
    }
  }

  .el-dialog__footer {
    padding-bottom: 43px;
  }

  .dialog-footer {
    > button {
      width: 87px;
      height: 36px;
      background: #fff6ef;
      border: 1px solid #f3b815;
      border-radius: 6px;
      background: rgba(255, 246, 239, 1);
      font-size: 18px;
      color: #f3b815;
    }
  }
}

.pagination-block {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.import-report-container {
  height: 400px;
}

.el-table .cell {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-all;
  line-height: 23px;
  display: flex;
  justify-content: center;
}

.manual-entry-container {
}

.assessment-container {
}

.plan-entry-table-container {
  margin-top: 30px;

  .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

  .el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  .el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }

  .el-checkbox__inner:hover {
    border-color: #004ca7;
  }

  .el-checkbox__inner {
    border: 1px solid #004ca7;
    border-radius: 0;
  }

  .el-checkbox__input.is-checked .el-checkbox__inner,
  .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #004ca7;
    border-color: #004ca7;
  }

  .el-checkbox__input.is-checked + .el-checkbox__label {
    color: #004ca7;
  }

  .el-checkbox.is-bordered.is-checked {
    border-color: #004ca7;
  }

  .el-checkbox__input.is-focus .el-checkbox__inner {
    border-color: #004ca7;
  }

  .export-button {
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: auto;
    height: 28px;
    line-height: 28px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    box-sizing: border-box;

    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #f3b815;
    }

    > img {
      width: 16px;
      height: 16px;
      margin-right: 5px;
    }
  }

  .lucj-import-button {
    .export-button;
    width: 116px;
    margin: 0 auto 12px;
    background: #f1fff8;
    border: 1px solid #02c86c;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #02c86c;
    }
  }

  .lucj-expot-button {
    .export-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: 81px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #f3b815;
    }
  }
  .search-button {
    width: 77px;
    height: 28px;
    line-height: 28px;
    background: #f1f8fe;
    border: 1px solid #51aef6;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #51aef6;
    }
    > img {
      width: 20px;
      height: 20px;
      margin-right: 4px;
    }
  }
  .lucj-expot-buttonas {
    .export-button;
    background: #fff6ef;
    border: 1px solid #f3b815;
    width: 81px;
    margin-right: 12px;

    &:last-child {
      margin-bottom: 0px;
    }

    > span {
      color: #f3b815;
    }
  }

  .download-buttons {
    align-items: center;
    width: 78px;
    height: 28px;
    line-height: 28px;
    background: #ffefef;
    border: 1px solid #ff3819;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #fb563c;
    }

    > img {
      width: 16px;
      height: 16px;
      margin-right: 10px;
    }
  }
  .ztcz-detail {
    .download-buttons;
    background: #f1fff8;
    border: 1px solid #02c86c;

    > span {
      font-size: 16px;
      font-family: Microsoft YaHei;
      font-weight: 400;
      color: #02c86c;
    }
  }
}
</style>

<style lang="less" scoped>
@import "../../../styles/print-entry.less";

.plan-entry-table-container {
  margin-top: 30px;

  .table-data {
    width: 100%;
    border: 0.8px solid #004ca7;
    border-radius: 9px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #004ca7;
  }
}
</style>
